<template>
  <div class="wrap">
    <div class="wrap-l">
      <div class="tree-box">
        <div class="title">设备列表</div>
        <Tree />
      </div>
      <div class="SearchList-box">
        <div class="con">
          <div class="title">视频录像</div>
          <SearchList />
        </div>
      </div>
    </div>
    <div class="wrap-r">
      <VideoWrap />
    </div>
  </div>
</template>

<script>
import Tree from "./coms/Tree";
import SearchList from "./coms/SearchList.vue";
import VideoWrap from "./coms/VideoWrap";
import bus from "@/utils/bus";
export default {
  name: "videoRecord",
  components: {
    Tree,
    SearchList,
    VideoWrap,
  },
  props: {},
  data() {
    return {};
  },
  computed: {},
  created() {},
  mounted() {},
  methods: {},
  watch: {},
};
</script>
<style scoped>
.wrap {
  /* height: calc(100vh - 100px); */
  height: calc(100vh - 60px);
  margin: -20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #031229;
}
.wrap-l {
  width: 23%;
  height: 100%;
  box-shadow: 1px 0px 10px #446ab6;
  display: flex;
  flex-flow: column;
}
.wrap-r {
  flex: 1;
  height: 100%;
  margin-left: 20px;
  /* box-shadow: 0 10px 10px #d6d6d6; */
}

.wrap-l .tree-box {
  width: 100%;
  height: 45%;
  border-radius: 10px;
  border-radius: 10px;
  overflow: hidden;
}
.wrap-l .SearchList-box {
  width: 100%;
  height: 55%;
  border-radius: 10px;
}
.con {
  width: 100%;
  height: 100%;
  /* height: calc(100%-40px); */
  /* padding-bottom: 60px; */
}
.wrap-l .title {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding-left: 15px;
  background: #193c7e;
  border-radius: 10px 10px 0 0;
  color: #fff;
  font-size: 14px;
}
</style>
